package com.clock.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.clock.common.annotation.Excel;
import com.clock.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流水统计对象 shop_revenue
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public class ShopRevenue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水ID */
    private Long revenueId;

    /** 流水金额 */
    @Excel(name = "流水金额")
    private Long revenueAmount;

    /** 流水日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流水日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date revenueTime;

    /** 流水月份 */
    @Excel(name = "流水月份")
    private Integer revenueMonth;

    /** 流水年份 */
    @Excel(name = "流水年份")
    private String revenueYear;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    public void setRevenueId(Long revenueId) 
    {
        this.revenueId = revenueId;
    }

    public Long getRevenueId() 
    {
        return revenueId;
    }
    public void setRevenueAmount(Long revenueAmount) 
    {
        this.revenueAmount = revenueAmount;
    }

    public Long getRevenueAmount() 
    {
        return revenueAmount;
    }
    public void setRevenueTime(Date revenueTime) 
    {
        this.revenueTime = revenueTime;
    }

    public Date getRevenueTime() 
    {
        return revenueTime;
    }
    public void setRevenueMonth(Integer revenueMonth) 
    {
        this.revenueMonth = revenueMonth;
    }

    public Integer getRevenueMonth() 
    {
        return revenueMonth;
    }
    public void setRevenueYear(String revenueYear) 
    {
        this.revenueYear = revenueYear;
    }

    public String getRevenueYear() 
    {
        return revenueYear;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("revenueId", getRevenueId())
            .append("revenueAmount", getRevenueAmount())
            .append("revenueTime", getRevenueTime())
            .append("revenueMonth", getRevenueMonth())
            .append("revenueYear", getRevenueYear())
            .append("orderId", getOrderId())
            .toString();
    }
}
